const BaseModel = require('./baseModel')
// 数据
let users = [
  { id: 1, name: '张三', age: 10 },
  { id: 2, name: '李四', age: 11 },
  { id: 3, name: '王五', age: 12 },
  { id: 4, name: '赵六', age: 13 }
]

class UserModel extends BaseModel {
  constructor() {
    super(users)
  }
}

module.exports = new UserModel

/* 
module.exports = {
  all,
  first,
  create,
  update,
  destroy
} */